﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace eCashDatalayer
{
    public class CabinetMinutesModule : INotifyPropertyChanged
    {

        public event PropertyChangedEventHandler PropertyChanged;


        private int _Actsandbillsid;
        private DateTime _DateReceived;
        private int _Cabinet_minutes_ID;
        private DateTime _Date_received;
        private DateTime _Date_of_cabinet_minutes ;
        private string _cabinet_minutes_number;
        private string _Subject2;
        private string _Subject_purpose_reading;
        private int _Ministry_ID;
        private string _originator_s_names ;
        private byte _Approved_unapproved__Yes_No;
        private int _Receieved_by_ID;
        private DateTime _Date_approved_unapproved;
        private string _Entered_by;
        private DateTime _Date_entered;
        private string _Delivery ;
        private DateTime _Dispatchdate ; 

 
        /// When the Property is changed from the PL this gets Fired
        /// </summary>
        /// <param name="property"></param>
        private void OnPropertyChanged(String property)
        {


            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(property));
            }
        }


        public int Cabinet_minutes_ID
        {

            get
            {
                return _Cabinet_minutes_ID;
            }
            set
            {
                _Cabinet_minutes_ID = value;

                OnPropertyChanged("Cabinet_minutes_ID");

            }
        }


        public DateTime Date_received
        {

            get
            {
                return _Date_received;
            }
            set
            {
                _Date_received = value;

                OnPropertyChanged("Date_received");

            }
        }

        public DateTime Date_of_cabinet_minutes
        {

            get
            {
                return _Date_of_cabinet_minutes;
            }
            set
            {
                _Date_of_cabinet_minutes = value;

                OnPropertyChanged("Date_of_cabinet_minutes");

            }
        }

        public string cabinet_minutes_number
        {

            get
            {
                return _cabinet_minutes_number;
            }
            set
            {
                _cabinet_minutes_number = value;

                OnPropertyChanged("cabinet_minutes_number");

            }
        }


        public string Subject2
        {

            get
            {
                return _Subject2;
            }
            set
            {
                _Subject2 = value;

                OnPropertyChanged("Subject2");

            }
        }

        public string Subject_purpose_reading
        {

            get
            {
                return _Subject_purpose_reading;
            }
            set
            {
                _Subject_purpose_reading = value;

                OnPropertyChanged("Subject_purpose_reading");

            }
        }
        public int Ministry_ID
        {

            get
            {
                return _Ministry_ID;
            }
            set
            {
                _Ministry_ID = value;

                OnPropertyChanged("Ministry_ID");

            }
        }
        public string originator_s_names
        {

            get
            {
                return _originator_s_names;
            }
            set
            {
                _originator_s_names = value;

                OnPropertyChanged("originator_s_names");

            }
        }
        public byte Approved_unapproved__Yes_No
        {

            get
            {
                return _Approved_unapproved__Yes_No;
            }
            set
            {
                _Approved_unapproved__Yes_No = value;

                OnPropertyChanged("Approved_unapproved__Yes_No");

            }
        }

        public int Receieved_by_ID
        {

            get
            {
                return _Receieved_by_ID;
            }
            set
            {
                _Receieved_by_ID = value;

                OnPropertyChanged("Receieved_by_ID");

            }
        }

        public DateTime Date_approved_unapproved
        {

            get
            {
                return _Date_approved_unapproved;
            }
            set
            {
                _Date_approved_unapproved = value;

                OnPropertyChanged("Date_approved_unapproved");

            }
        }

        public string Entered_by
        {

            get
            {
                return _Entered_by;
            }
            set
            {
                _Entered_by = value;

                OnPropertyChanged("Entered_by");

            }
        }
        public DateTime Date_entered
        {

            get
            {
                return _Date_entered;
            }
            set
            {
                _Date_entered = value;

                OnPropertyChanged("Date_entered");

            }
        }

        public string Delivery
        {

            get
            {
                return _Delivery;
            }
            set
            {
                _Delivery = value;

                OnPropertyChanged("Delivery");

            }
        }


        public DateTime Dispatchdate
        {

            get
            {
                return _Dispatchdate;
            }
            set
            {
                _Dispatchdate = value;

                OnPropertyChanged("Dispatchdate");

            }
        }  


    }
}